home *** CD-ROM | disk | FTP | other *** search
/ Cigar Companion Interactive / Cigar Companion Interactive.iso / pc / lingo.ini < prev    next >
Text File  |  1997-08-16  |  1KB  |  31 lines

  1. -- This is the text file LINGO.INI.  It is designed
  2. -- to tell Director for Windows what Xtras, XObjects, or
  3. -- DLLs should be loaded when starting DIRECTOR.EXE.
  4.  
  5. -- You should have a copy of this file and the associated
  6. -- DLL file (for example, FILEIO.DLL) in the same 
  7. -- location as any Projector you wish to distribute.
  8. -- Otherwise, the Projector will not be able to utilize
  9. -- the features of the DLL you want to use.
  10.  
  11. -- To comment out one of the lines below, use two dashes (--)
  12. -- as in the beginning of these lines.
  13.  
  14. -- Loaded are:
  15. -- FILEIO.DLL, for file input and output
  16.  
  17. on startup
  18.    
  19. --  set the centerStage to TRUE
  20. if the machineType = 256 then
  21.     set myPath=the pathname & "data\xobjects\"
  22.     openxlib "fileio"
  23.     --openxlib myPath & "WINDIRS.DLL"
  24.     -- Following line prevents crashes on Windows systems when using math functions 
  25.     -- such as power or log and passing bogus or extremely large/small values.
  26.     -- Invoking the float->string conversion code  with a valid value prevents
  27.     -- future crashes in this routine.  drs  1mar96 
  28.     if string(0.0)="a" then nothing
  29.     end if    
  30. end startup
  31.